<html>
	<head>
		<script type="text/javascript" language="JavaScript">
			function CalledByAndroid(message){
				document.getElementById("TxTResult").value = message;

			}

			function Test(){
				document.getElementById("TxTResult").value = "@@@@@";
			}

			function TestBis(message){
				document.getElementById("TxTResult").value = message;
			}

			
			function Cmd1_Click(){
				document.getElementById("TxTResult").value = window.host.getInfo();
				window.host.displayToast("Hello World");
			}

			function Cmd2_Click(){

				
				//window.host.callTest();

				window.host.callTestBis('######');
				
				//window.host.callJS('SALUT');
				//document.getElementById("TxTResult").value = window.host.getInfo();
			}
			
		</script>
	
	
	</head>
	
	<body onload="CalledByAndroid('OK');">
		<H1>Essais JS et JAVA</H1>
		<!--
		<a href="/clock">click here</a>.
		<a href="/essai:AA:BB">click here</a>.
		<a href="/tests">click here</a>.
		<hr></hr>
		-->
		<input type="text" id="TxTResult"></input>
		<hr></hr>
		<input type="button" id="Cmd1" value="CMD1" onclick="Cmd1_Click();"></input>
		<input type="button" id="Cmd2" value="CMD2" onclick="Cmd2_Click();"></input>
	</body>

</html>